package mylibrary.io.nio.nonBlock;

import java.nio.ByteBuffer;
import java.nio.channels.Selector;
import java.nio.channels.ServerSocketChannel;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

public class Server {

	private Selector selector;
	private ByteBuffer readBuffer = ByteBuffer.allocate(8);
	
	private Map clientMessages = new ConcurrentHashMap();
	
	public void start() throws Exception{
		
		ServerSocketChannel ssc = ServerSocketChannel.open();
		ssc.configureBlocking(false);
		//ssc.
		
	}
}
